package com.bosssoft.test.domain.po;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;

import com.bosssoft.base.entity.BaseEntity;
import lombok.Data;

/**
 * @author diana
 * @create 2021-03-31 21:15
 */
@Data
@TableName(value = "`user`")
public class User extends BaseEntity {

    /**
     * 用户名
     */
    @TableField(value = "username")
    private String username;

    /**
     * 密码
     */
    @TableField(value = "`password`")
    private String password;

    /**
     * 版本号
     */
    @Version
    @TableField(value = "version")
    private Long version;

    private static final long serialVersionUID = 1L;
}
